package vip.hamlin.net.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created by SunShao on 2016/6/5.
 */
@SuppressWarnings("unused")
@Configuration
@PropertySource("classpath:common.properties")
public class NetCommonBean extends BaseBean {
    @Value("${accessKeySecret}")
    private String accessKeySecret;
    @Value("${accessKeyID}")
    private String accessKeyID;
    @Value("${currentIpUrl}")
    private String currentIpUrl;
    @Value("${domainName}")
    private String domainName;
    @Value("${subDomain}")
    private String subDomain;

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getAccessKeyID() {
        return accessKeyID;
    }

    public void setAccessKeyID(String accessKeyID) {
        this.accessKeyID = accessKeyID;
    }

    public String getCurrentIpUrl() {
        return currentIpUrl;
    }

    public void setCurrentIpUrl(String currentIpUrl) {
        this.currentIpUrl = currentIpUrl;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public String getSubDomain() {
        return subDomain;
    }

    public void setSubDomain(String subDomain) {
        this.subDomain = subDomain;
    }
}
